package com.wze.wze.Impl;

import com.wze.wze.Entity.Music;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MusicImpl {

    int addMusic(String MusicName,String Music,String MusicImage,String Musict,String MusicLyric,int Singer);
    Music getMusicById(int id) ;//根据id获取音乐
    int upMusic(@Param("Music")Music music  );
    int delMusicById(int id);
    List<Music> getMusicList(int Start, int Page, int id, String MusicName);//分页查询所有用户
    List<Music> getUnMusicList(int Start, int Page, int id, int Sid);//分页查询所有用户
}
